[Problem Link] If you’ve solved the edit distance dynamic programming problem, this problem should be straightforward. Make sure to return false if both strings are equal. The problem asks us to return true only if they’re one edit distance apart! Proceed if they’re unequal. Use two pointers set at the end of each string. Find … Continue reading [Leetcode] One Edit Distance
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed